Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issues with the Add/AddAssign impls for Cow<str> #37574

Merged
merged 1 commit into from
Nov 6, 2016

Conversation

ollie27
Copy link
Member

@ollie27 ollie27 commented Nov 4, 2016

  • Correct the stability attributes.
  • Make Add and AddAssign actually behave the same.
  • Use String::with_capacity when allocating a new string.
  • Fix the tests.

* Correct the stability attributes.
* Make Add and AddAssign actually behave the same.
* Use String::with_capacity when allocating a new string.
* Fix the tests.
@rust-highfive
Copy link
Collaborator

r? @alexcrichton

(rust_highfive has picked a reviewer for you, use r? to override)

@alexcrichton
Copy link
Member

@bors: r+

Thanks!

@bors
Copy link
Contributor

bors commented Nov 4, 2016

📌 Commit 1e40c80 has been approved by alexcrichton

alexcrichton added a commit to alexcrichton/rust that referenced this pull request Nov 4, 2016
Fix issues with the Add/AddAssign impls for Cow<str>

* Correct the stability attributes.
* Make Add and AddAssign actually behave the same.
* Use String::with_capacity when allocating a new string.
* Fix the tests.
bors added a commit that referenced this pull request Nov 5, 2016
sophiajt pushed a commit to sophiajt/rust that referenced this pull request Nov 5, 2016
Fix issues with the Add/AddAssign impls for Cow<str>

* Correct the stability attributes.
* Make Add and AddAssign actually behave the same.
* Use String::with_capacity when allocating a new string.
* Fix the tests.
alexcrichton added a commit to alexcrichton/rust that referenced this pull request Nov 5, 2016
Fix issues with the Add/AddAssign impls for Cow<str>

* Correct the stability attributes.
* Make Add and AddAssign actually behave the same.
* Use String::with_capacity when allocating a new string.
* Fix the tests.
bors added a commit that referenced this pull request Nov 6, 2016
@bors bors merged commit 1e40c80 into rust-lang:master Nov 6, 2016
@ollie27 ollie27 deleted the cow_add branch November 6, 2016 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants